package com.feign.clients;

import com.common.utils.Result;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("usermode")
public interface UserClient {

    @GetMapping("/user/detail/{userId}")
    public Result selectUserDetail(@PathVariable long userId);
}
